I finally got a working vwarp() patch. It just adds a new function,
vwarp(POINT, WARPS), which acts very similar to the vtransform function
except it applies a warp to a point. This image uses a black hole warp.
However, there seems to be a memory leak somewhere...it might be in one
of the other modifications I made, though.(Some code from a
(non-functional) pattern blurring patch is also in there, as well as a
vinverse_transform() patch.)
--
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/
Post a reply to this message
Attachments:
Download 'vwarp test.jpg' (16 KB)
Preview of image 'vwarp test.jpg'
|